package com.example.yoho.di.moudles;

import com.example.yoho.mvp.contract.BrandContract;
import com.example.yoho.mvp.model.BrandModel;

import dagger.Module;
import dagger.Provides;

@Module
public class BrandModules {
    private BrandContract.View view;

    public BrandModules(BrandContract.View view) {
        this.view = view;
    }

    @Provides
    public BrandContract.View brandView(){
        return view;
    }
    @Provides
    public BrandContract.Model brandModel(BrandModel brandModel){
        return brandModel;
    }
}
